package com.leyou.auth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@Data
@ConfigurationProperties(prefix = "ly.auth")
public class ClientProperties {
    //客户端id
    private String clientId;
//    客户端秘钥
    private String secret;
//要拦截的路径
    private List<String> includePathPatterns;
//不拦截的路径
    private List<String> excludePathPatterns;
    //是否开启拦截，默认false
    private Boolean enable = false;
}
